{template 'member', 'header'}

<link href="{CSS_PATH}dialog.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="{JS_PATH}dialog.js"></script>
<script language="javascript" type="text/javascript" src="{JS_PATH}content_addtop.js"></script>
<script type="text/javascript" src="http://www.zhuang.com/phpcms/statics/js/swfupload/swf2ckeditor.js"></script>
<div id="main-content">
<div id="memberArea">
	{template 'member', 'left'}
	<style type="text/css">
.measure-input{width:200px!important;
 border: 1px solid #CECECE;
    height: 20px;
    line-height: 20px;
}
</style>
	
 <div class="right">
<div class="hd">
  <h3 class="t09"><strong>报价方案</strong> >><a href="#">管理报价方案</a></h3>
</div>
<div class="hd02">
<ul>
<li><a href="{APP_PATH}index.php?m=member&c=content&a=published&catid=23">管理报价方案</a></li>
<li><a href="{APP_PATH}index.php?m=member&c=content&a=publish&siteid=1&catid=23" class="hover">发布报价方案</a></li></ul>
</div>

<form method="post" action="" id="myform" name="myform">
<table class="table01">
				{if ROUTE_A=='publish'}
				<script language="JavaScript">
				<!--
					function c_c(catid) {
						location.href='index.php?m=member&c=content&a=publish&siteid={$siteid}&catid='+catid;
					}
				//-->
				</script>
					<tr style="display:none">
						<th>{L('please_select_cat')}</th>
						<td>{form::select_category('category_content', $catid, 'name="info[catid]" onchange="javascript:c_c(this.value);"','','',0,1,$siteid)}</td>
					</tr>
				{/if}
					{loop $forminfos $k $v}
					<tr>
						<th width="100">{if $v['star']} <font color="red">*</font>{/if} {$v['name']}：</th> 
						<td>{$v['form']}{if $v['tips']}{$v['tips']}{/if}</td>
					</tr>
					{/loop}
					<tr>
						<th></th>
						<td>
						<input name="forward" type="hidden" value="{HTTP_REFERER}">
						<input name="id" type="hidden" value="{$id}">
						<input name="dosubmit" type="submit" id="dosubmit" value="{L('submit')}" class="button"></td>
					</tr>
				</table>
			</form>

			</div>
			<span class="o1"></span><span class="o2"></span><span class="o3"></span><span class="o4"></span>
		</div>
	</div>
</div>
</div>
</div>
<div class="clear"></div>
<script type="text/javascript"> 
<!--
//只能放到最下面
$(function(){
	$.formValidator.initConfig({formid:"myform",autotip:true,onerror:function(msg,obj){window.top.art.dialog({content:msg,lock:true,width:'200',height:'50'}, 	function(){$(obj).focus();
	boxid = $(obj).attr('id');
	if($('#'+boxid).attr('boxid')!=undefined) {
		check_content(boxid);
	}
	})}});
	{$formValidator}
})
{pc:member action="get_city"  return="city"}
	var c = '<select name="info[city]"  onchange="selectcity(this.value);">';
	c +='<option value="0">请选择</option>';
	{loop $city $k $v}
		c += '<option value="{$v['linkageid']}">{$v['name']}</option>';
	{/loop}
	c += '</select>';
{/pc}
$('#citydiv').html(c);

flashupload.prototype.test = function(){
	alert(0);
}
//-->
</script>
